﻿using System;
using System.Collections.Generic;

class OccurencesOfString
{
    static void Main()
    {
        //string text = Console.ReadLine();
        string text = "Ala baaala nicaaa ttturrr";

        Dictionary<char, int> collection = new Dictionary<char, int>();

        foreach (char letter in text)
        {
            if (collection.ContainsKey(letter))
            {
                collection[letter]++;                
            }
            else
            {
                if (letter!=' ')
                {
                 collection.Add(letter, 1);  
                }
                
            }
        }

        foreach (KeyValuePair<char, int> pair in collection)
        {
            Console.WriteLine("{0} is found {1} times",
            pair.Key,
            pair.Value);
        }

    }
}